
<div class="page-wrapper d-flex pt-4 w-100 flex-row-reverse">
    <aside class="bd-sidebar sub-sidebar">
        <nav class="bd-links p-3" aria-label="Sub-section navigation">

            <div class="btn-group w-100" role="group">
                <button id="btnToSubmit" type="button" ng-click="export()" class="btn btn-primary text-white">
                    <i class="fa fa-save"></i>
                    <span ng-bind="translate('Export')"></span>
                </button>
            </div>
        </nav>
    </aside>


    <!-- ----------------------------------------------------------- -->


    <div class="content-body py-3 pe-3">
        <h3>Export theme and data</h3>
        <p class="text-subtitle text-muted">Use the filter side bar on the right to filter and search your themes.</p>


        <!-- Main content -->
        <section class="" ng-init="getExportData()">
            <form id="frm-theme" ng-class="{'submitted': submitted}" ng-submit="export()">
                <div class="row justify-content-md-center">
                    <div class="col-12 mb-3">
                        <div class="form-check form-switch">
                            <input type="checkbox" class="form-check-input" ng-model="selectedExport.isIncludeAssets" />
                            <label class="custom-control-label">Include Assets</label>
                        </div>
                        <div class="form-check form-switch">
                            <input type="checkbox" class="form-check-input"
                                ng-model="selectedExport.isIncludeTemplates" />
                            <label class="custom-control-label">Include Templates</label>
                        </div>
                        <div class="form-check form-switch">
                            <input type="checkbox" class="form-check-input"
                                ng-model="selectedExport.isIncludeConfigurations" />
                            <label class="custom-control-label"></label>Include Configurations</label>
                        </div>
                        <div class="form-check form-switch">
                            <input type="checkbox" class="form-check-input"
                                ng-model="selectedExport.isIncludePermissions" />
                            <label class="custom-control-label">Include
                                IncludePermissions</label>
                        </div>
                    </div>
                    <div class="">
                        <tabs-v>
                            <pane-v header="Pages" class="card">
                                <div class="card-body">
                                    <theme-export-pages export-data="exportData" selected-export="selectedExport">
                                    </theme-export-pages>
                                </div>
                            </pane-v>
                            <pane-v header="Modules" class="card">
                                <div class="card-body">
                                    <theme-export-modules export-data="exportData" selected-export="selectedExport">
                                        </theme-export-pages>
                                </div>
                            </pane-v>
                            <pane-v header="Database" class="card">
                                <div class="card-body">
                                    <theme-export-mix-databases export-data="exportData"
                                        selected-export="selectedExport">
                                    </theme-export-mix-databases>
                                </div>
                            </pane-v>
                            <pane-v header="Posts" class="card">
                                <div class="card-body">
                                    <theme-export-posts export-data="exportData" selected-export="selectedExport">
                                    </theme-export-posts>
                                </div>
                            </pane-v>
                        </tabs-v>
                    </div>
                </div>
            </form>
        </section>
    </div>
</div>